Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Adds Application Insights User, Session cookie values to Freshdesk ticket #12388

Merged
merged 2 commits into from
Jan 2, 2025

Conversation

mnigh
Copy link
Contributor

@mnigh mnigh commented Dec 27, 2024

🤖 Resolves #11390.

👋 Introduction

This PR adds the Application Insights User ID and the Application Insights Session ID cookie value strings to new support tickets via to the SupportController.

📸 Screenshot

Screen Shot 2024-12-27 at 10 40 57

🧪 Testing

Note

To test creating a support ticket, you will need to access to and credentials for Freshdesk. The APPLICATIONINSIGHTS_CONNECTION_STRING in apps/web/index.html will also need to be manually set locally.

  1. make refresh-api; pnpm build
  2. Navigate to http://localhost:8000/en/support
  3. Fill out the support form and submit
  4. Verify Application Insights User ID field and Application Insights Session ID field in a newly created Freshdesk ticket has the appropriate values from ai_user and ai_session cookies

@petertgiles petertgiles self-requested a review January 2, 2025 13:32
@petertgiles
Copy link
Contributor

It looks good to me. @mnigh do you have access to confirm that my ticket was successfully submitted?

@mnigh
Copy link
Contributor Author

mnigh commented Jan 2, 2025

It looks good to me. @mnigh do you have access to confirm that my ticket was successfully submitted?

Yes I do and the ticket was successfully submitted. I will send you a screenshot of the ticket in Slack.

Copy link
Contributor

@petertgiles petertgiles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding this feature!

@mnigh mnigh added this pull request to the merge queue Jan 2, 2025
Merged via the queue into main with commit 4f4ffae Jan 2, 2025
11 checks passed
@mnigh mnigh deleted the 11390-freshdesk-appinsights branch January 2, 2025 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

✨ Add Application Insights user ID to support tickets
2 participants